package com.afiorenza;

import java.util.List;

import com.afiorenza.one.VehiculoHelper;
import com.afiorenza.one.factory.VehiculoInterface;

public class ExerciseOne {

	public static void main(String[] args) {

		List<VehiculoInterface> vehiculos = VehiculoHelper.leerArchivo();

		VehiculoHelper.listar(vehiculos);
		System.out.println("");

		VehiculoHelper.ordenarPorFecha(vehiculos);

		VehiculoHelper.listar(vehiculos);


	}
}
